package com.jdrx.ocp.beans.commons;

/**
 * 系统常量类
 * Created by yangfang on 2018/11/22.
 */
public interface SysConstant {
    /**
     * 新增标志
     */
    String OPERATE_CREATE = "create";
    String APPLICATION_NAME = "ocp";

    /**
     * 超级管理员账号
     */
    String ADMIN_USER_NAME = "admin";
    /**
     * 系统管理员
     */
    String SYSTEM_USER_NAME = "sysadmin";

    /**
     * 系统配置参数key
     */
    String SYS_SETTING_REDIS_KEY = "sys_setting";
	
    /**
     * 用户缓存key
     */
    public static final String USER_KEY = "jdrx:ocp:user:";
    
    /**
     * 租户对应的数据节点名称
     */
    public static final String DATA_NODE = "data-node";
    
    public static final String TENANT_ID = "TENANT-ID";
    
    /**
     * 租户用户缓存，后续拼接租户id+用户id作为键
     */
    public static final String REDIS_USER = "sewage:user:";
    
    /**缓存key标记*/
    public static final String REDIS_TENANT = "sewage:tenant:";
}
